package animal;

/*
 *  user:38917
 *  date:2025/5/5
 *  time:23:45
 */

public class Dog extends Animal {
    public String color;
    //重写父类的eat方法
    @Override
    public Dog eat() {
        System.out.println("Dog is eating.");
        return null;
    }
}
